<?php
class Mod_slideshow extends CI_Controller{
    private $tb_slideshow = 'slideshow';
    function  __construct(){
        parent::__construct();        
        //$this->load->model('Home_model');
    }
    function index(){ // id luu torng session
            //$this->db->cache_on();      
            $slideshow = $this->Home_model->get_data($this->tb_slideshow,array('show'=>1)); 
            $data = array('slideshow'=>$slideshow);
            $this->load->view('mod_slideshow/vmod_slideshow',$data);  
            //$this->db->cache_off();          
        
    }
        
   
    
}